package com.fxz.oauth.exception;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.zalando.problem.spring.web.advice.ProblemHandling;

/**
 * 异常处理类
 *
 * @author Fxz
 * @version 1.0
 * @date 2021-08-03 18:38
 */
@ControllerAdvice
public class ExceptionHandler implements ProblemHandling {
    @Override
    public boolean isCausalChainsEnabled() {
        return true;
    }
}
